<template name="News">
    <div class="list-block media-list f7-news-list-block">
        <ul>
            {{#each News}}
            <li>
                <a href="/news/{{id}}" class="item-link item-content">
                    <div class="item-inner">
                        <div class="item-title-row">
                            <div class="item-title" style="font-size:1rem">{{title}}</div>
                        </div>
                        <div class="item-text f7-news-item-text" style="font-size:0.9rem !important;overflow:hidden">
                          {{sub_content}}
                        </div>
                        <div class="item-after" style="font-size:0.9rem;float:right">{{created_at}}</div>
                    </div>
                </a>
            </li>
            {{/each}}
        </ul>
    </div>
</template>
